MAKE = make
SUBDIRS = galigner gsnp gama container system
libcontainer.a:
	cd ./container && $(MAKE)
libgsnp.a:
	cd ./gsnp && $(MAKE)
gallop:
	cd ./system && $(MAKE)
all: libcontainer.a libgsnp.a gallop

clean:
	@ for subdir in $(SUBDIRS); do \
		(cd $$subdir && $(MAKE) clean); \
	done
